#include <stdio.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <unistd.h>

#include "ipc_api.h" 

int main(int argc,char* argv[])
{
	ipcRet_e ret = ipcSuccess;
	ipcLog_s log = {IPC_LOG_EMERG,IPC_LOG_2_STDERR};	

	ret = ipcLogInit(&log);
	if(ipcSuccess != ret)
	{
		printf("demo: ipcLogInit failed \n");
		return -1;
	}

	ipcLogDebug("ipcLogDebug \n");
	ipcLogError("ipcLogError \n");
	ipcLogEmerg("ipcLogEmerg \n");

	ipcLogDeinit();
	return 0;
}
